#container {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
  //QQ登录
  .koukou {
    width: 100%;
    height: 100%;
    // background-color: #ccc;
    position: absolute;

    display: none;
    .chuangkou {
      width: 400px;
      height: 400px;
      background: url(../images/qq.ll.jpg) no-repeat center center;
      position: fixed;
      left: 36%;
      top: 25%;
      border-radius: 8px;
      .guanbi {
        display: block;
        width: 50px;
        height: 20px;
        position: absolute;
        right: 0;
        top: 0;
        cursor: pointer;
        background: skyblue;
        text-align: center;
        border-top-right-radius: 8px;
      }

      h4 {
        font-size: 25px;
        color: black;
        text-align: center;
        font-weight: normal;
      }
      form {
        width: 300px;
        height: 200px;
        margin: auto;

        input {
          width: 295px;
          height: 40px;
          margin-top: 30px;
          border-radius: 8px;
          padding-left: 5px;
        }
      }
      .btn {
        display: block;
        width: 250px;
        height: 30px;
        background-color: teal;
        border-radius: 8px;
        border: none;
        outline: none;
        cursor: pointer;
        margin: auto;
      }
    }
  }
}

// header头部
header {
  width: 100%;
  background-color: #1f1f1f;
  height: auto;

  .w1240 {
    width: 1440px;
    min-width: 1200px;
    max-width: 1590px;
    height: auto;
    margin: auto;
    background-color: #1f1f1f;
  }
  .nt_top {
    dl {
      display: flex;

      dt {
        width: 24px;
        height: 24px;
        display: inline-block;
        background: url(../images/ico-comm.png) no-repeat;
        background-position: 0 -93px;
      }
      dd {
        a {
          color: #a7a7a7;
        }
      }
    }
  }
  .nt_cen {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    background: url(../images/logo-pubg.png) no-repeat center center;
    .cen_le {
      height: 60px;
      width: auto;
      .ico {
        display: inline-block;
        width: 21px;
        height: 21px;
        background: url(../images/ico-comm.png) no-repeat;
        background-position: 0 -279px;
        vertical-align: middle;
      }
      a {
        color: #f6f7ef;
      }
    }
    .cen_ri {
      width: auto;
      height: auto;
      width: 310px;
      height: 34px;
      background: #383838;
      display: flex;
      justify-content: space-between;
      input {
        margin-left: 9px;
        width: 228px;
        height: 34px;
        line-height: 34px;
        font-size: 14px;
        color: #aaa;
        background: #383838;
      }
      a {
        width: 73px;
        height: 34px;
        background: #f3ad14;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        i {
          display: block;
          width: 20px;
          height: 20px;
          background: url(../images/spr-com.png) no-repeat;
          background-position: -44px -26px;
        }
      }
    }
  }

  .nt_btn {
    height: auto;
    display: flex;
    justify-content: space-between;
    .all_l {
      height: 50px;
      width: auto;
      line-height: 50px;
      cursor: pointer;
      i {
        margin-right: 18px;
        vertical-align: middle;
        display: inline-block;
        width: 22px;
        height: 17px;
        background: url(../images/spr-com.png) no-repeat;
        background-position: -26px -2px;
      }
      span {
        color: #f6f7ef;
      }
    }
    .nav_c {
      height: 50px;
      width: auto;
      // margin-left: 270px;
      display: flex;
      line-height: 50px;
      text-align: center;
      li {
        margin: 0 25px;
        width: auto;
        height: 100%;
        a {
          color: #fff;
          &:hover {
            color: #f3ad14;
          }
        }
      }
    }
    // 购物车登陆后显示
    .nav_r {
      width: auto;
      line-height: 50px;
      font-size: 14px;
      color: #f2f2f2;
      float: right;
      display: flex;
      opacity: 0; //透明度显示
      i {
        margin-right: 7px;
        margin-top: 14px;
        display: block;
        width: 20px;
        height: 20px;
        background: url(../images/spr-com.png) no-repeat;
        background-position: -2px -2px;
      }
      span {
        display: block;
      }
      div {
        color: #f3ad14;
      }
    }
  }
}

// main内容
main {
  height: auto;
  .cart-list {
    width: 1280px;
    margin: 0 auto;
    height: auto;
    padding-bottom: 40px;
    .my-cart {
      padding: 84px 0;
      color: #666;
      font-size: 14px;
      .my-cart-item {
        font-size: 16px;
        line-height: 26px;
        padding: 15px 0;
        background: #fff;
        .fl {
          float: left;
        }
      }
      .sp-1 {
        width: 86px;
      }
      .sp-2 {
        width: 150px;
      }
      .sp-3 {
        width: 280px;
      }
      .sp-4 {
        width: 160px;
      }
      .sp-5 {
        width: 142px;
      }
      .sp-6 {
        width: 118px;
        margin-right: 80px;
        text-align: center;
      }
      .sp-7 {
        width: 140px;
      }
      .sp-8 {
        width: 120px;
      }
      .cart-shop {
        display: flex;
        align-items: center;
        font-size: 16px;
        line-height: 26px;
        padding: 25px 0 15px;
        .cart-check-text {
          vertical-align: top;
          zoom: 1;
        }
      }
      .my-cart-list{
        .btn-del{
          cursor: pointer;
        }
        .btn-fav{
          cursor: pointer;
        }
      }
      .cart-check {
        width: 24px;
        height: 24px;
        line-height: 24px;
        background: #fafafa;
        border: 1px solid #ddd;
        margin: 0 26px 0 30px;
        display: inline-block;
        *display: inline;
        vertical-align: middle;
        zoom: 1;
        cursor: pointer;
        position: relative;
      }
      .cart-checks{
        width: 24px;
        height: 24px;
        line-height: 24px;
        background: #fafafa;
        border: 1px solid #ddd;
        margin: 0 26px 0 30px;
        display: inline-block;
        *display: inline;
        vertical-align: middle;
        zoom: 1;
        cursor: pointer;
        position: relative;
      }
      .cart-good-item {
        background: #fff;
        margin-bottom: 10px;
        padding: 10px 0;
        line-height: 24px;
        color: #333;
        display: flex;
        .cart-item-img {
          width: 113px;
          height: 113px;
          overflow: hidden;
          border: 1px solid #ddd;
          position: relative;
          img {
            width: 100%;
          }
        }
        .cart-item-name {
          width: 240px;
          max-height: 48px;
          margin-top: 5px;
          overflow: hidden;
          color: #333;
        }
        .cart-item-sel {
          width: 116px;
          padding: 4px 34px 4px 10px;
          margin-left: -10px;
          position: relative;
          border: 1px solid transparent;
          color: #999;
          margin-top: 0px;
        }
        .cart-item-per {
          font-weight: bold;
          margin-top: 5px;
          span {
            display: block;
            font-weight: normal;
            text-decoration: line-through;
            color: #999;
          }
        }
        .cart-item-count {
          width: 118px;
          margin: 5px 0 3px;
          text-align: center;
          font-size: 0;
          line-height: 0;
          display: flex;
          .count-item {
            width: 30px;
            height: 32px;
            font-size: 26px;
            line-height: 30px;
            color: #666;
            display: inline-block;
            vertical-align: top;
            *display: inline;
            zoom: 1;
            border: 1px solid #ddd;
            cursor: pointer;
          }
          .cart-num-input {
            width: 54px;
            font-size: 14px;
            line-height: 30px;
            color: #333;
            text-align: center;
            border-width: 1px 0;
            outline: none;
            zoom: 1;
            border: 1px solid #ddd;
          }
        }
        .cart-item-price {
          font-size: 16px;
          font-weight: bold;
          margin-top: 10px;
        }
        .cart-item-opt {
          display: flex;
          flex-direction: column;
        }
      }
      .my-cart-btn {
        display: flex;
        justify-content: flex-end;
        color: #333;
        .info-left {
          display: flex;
          flex-direction: column;
          align-items: flex-end;
        }
        .total {
          color: #f74a4a;
          font-size: 20px;
        }
        .my-cart-info-tips {
          color: #999;
          margin-top: 5px;
        }
        .cart-money {
          width: 150px;
          font-size: 18px;
          text-align: center;
          color: #fff;
          line-height: 72px;
          background: #f0901e;
          margin-left: 20px;
          cursor: pointer;
        }
      }
    }
  }
  .m-l-5 {
    margin-left: 5px;
  }
  .flex-item {
    display: flex;
    align-items: center;
  }
  .clearfix:after {
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
    clear: both;
  }
}

// footer尾部
footer {
  width: 100%;
  background-color: #1b1b1b;
  height: auto;
  display: flex;
  flex-direction: column;
  a {
    color: #777;

    &:hover {
      color: white;
    }
  }

  .footer_ieb {
    background: #1b1b1b;
    color: #777;
    font-size: 12px;
    line-height: 24px;
    margin-top: 40px;

    .clearfix {
      width: 1440px;
      margin: auto;
      border-bottom: 1px solid #606060;

      .footer-djc {
        margin-top: 10px;
        width: 213px;
        height: 64px;
        display: block;
        img {
          display: block;
          width: 187px;
          height: 56px;
        }
      }
      .footer-info {
        height: 135px;
        width: 395px;
        font-size: 14px;
        line-height: 30px;
        margin: 50px 0 0 20px;
        border-left: 1px solid #606060;
        border-right: 1px solid #606060;
        float: left;
        li {
          // width: 118px;
          height: 55px;
          padding: 0 38px;
          float: left;
        }
      }
      .footer-code {
        float: left;
        line-height: 62px;
        padding: 50px 0 20px 33px;
        li {
          float: left;
          font-size: 16px;
          color: #fff;
          padding: 0 45px;
          text-align: center;
        }
        .pr0 {
          padding-right: 0;
        }
      }
    }
  }
  .footer_ied {
    background: #1b1b1b;
    font-size: 12px;
    line-height: 24px;
    padding: 30px 0 40px;
    text-align: center;
    p {
      a {
        color: #777;
      }
    }
  }
}
  .topnav {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 2000;
  margin: 0 20px 25px 0;
  // display: none;
}
.active{
  background-color:red !important;
}